import request from '@/utils/request'
export default {
  save(obj) {
    return request({
      url: `/eduservice/courseCollect/save`,
      method: 'post',
      data: obj
    })
  },
  getById(courseId) {
    return request({
      url: `/eduservice/courseCollect/${courseId}`,
      method: 'get'
    })
  },
  delete(courseId) {
    return request({
      url: `/eduservice/courseCollect/delete/${courseId}`,
      method: 'delete'
    })
  },
  getCollectList(){
    return request({
      url: `/eduservice/courseCollect/courseCollectList`,
      method: 'get'
    })
  }
}
